package com.mindainfo.groundwave.server.member.dao;

import com.mindainfo.groundwave.server.base.dao.IBaseDao;
import com.mindainfo.groundwave.server.member.bean.SysRole;

import java.util.List;

/**
 * Created by MD-01 on 2017/5/15.
 */
public interface IRoleDao extends IBaseDao<SysRole>{

    List<SysRole> getByIds(List<Integer> roleIds);

    SysRole queryByName(String name);

    SysRole queryBySign(String sign);

    List<SysRole> queryList(int start,int num,String key);

    int queryListCount(String key);

    List<SysRole> queryUsableAll();
}
